Small Induction Recursion

نویسندگان

  • Peter Hancock
  • Conor McBride
  • Neil Ghani
  • Lorenzo Malatesta
  • Thorsten Altenkirch
چکیده

There are several different approaches to the theory of data types. At the simplest level, polynomials and containers give a theory of data types as free standing entities. At a second level of complexity, dependent polynomials and indexed containers handle more sophisticated data types in which the data have an associated indices which can be used to store important computational information. The crucial and salient feature of dependent polynomials and indexed containers is that the index types are defined in advance of the data. At the most sophisticated level, induction-recursion allows us to define data and indices simultaneously. This work investigates the relationship between the theory of small inductive recursive definitions and the theory of dependent polynomials and indexed containers. Our central result is that the expressiveness of small inductive recursive definitions is exactly the same as that of dependent polynomials and indexed containers. A second contribution of this paper is the definition of morphisms of small inductive recursive definitions. This allows us to extend our main result to an equivalence between the category of small inductive recursive definitions and the category of dependent polynomials/indexed containers. We comment on both the theoretical and practical ramifications of this result.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Small Induction Recursion, Indexed Containers and Dependent Polynomials are equivalent∗

There are several different approaches to the theory of data types. At the simplest level, polynomials and containers give a theory of data types as free standing entities. At a second level of complexity, dependent polynomials and indexed containers handle more sophisticated data types in which the data have an associated indices which can be used to store important computational information. ...

متن کامل

Forms of Recursion and Induction

In these notes we look at the related techniques of recursion and induction. You will have seen already some of the simpler kinds of induction (over N) and you may have met some forms of recursion (such as primitive recursion) but you may not be aware of this name. Here we will go beyond these rather simple particular cases, and look at some more intricate aspects. Roughly speaking (at least fo...

متن کامل

A General Formulation of Simultaneous Inductive-Recursive Definitions in Type Theory

The rst example of a simultaneous inductive-recursive deenition in intuitionistic type theory is Martin-LL of's universe a la Tarski. A set U0 of codes for small sets is generated inductively at the same time as a function T0, which maps a code to the corresponding small set, is deened by recursion on the way the elements of U0 are generated. In this paper we argue that there is an underlying g...

متن کامل

Learning Recursion with Iterative Bootstrap Induction

In this paper we are concerned with the problem of inducing recursive Horn clauses from small sets of training examples. The method of iterative bootstrap induction is presented. In the first step, the system generates simple clauses, which can be regarded as properties of the required definition. Properties represent generalizations of the positive examples, simulating the effect of having lar...

متن کامل

Conditional Lemma Discovery and Recursion Induction in Hipster

Hipster is a theory exploration tool for the proof assistant Isabelle/HOL. It automatically discovers lemmas about given recursive functions and datatypes and proves them by induction. Previously, only equational properties could be discovered. Conditional lemmas, for example required when reasoning about sorting, has been beyond the scope of theory exploration. In this paper we describe an ext...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013